package com.cykj.pos.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.cykj.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import java.util.HashMap;
import java.math.BigDecimal;

/**
 * 提现分润对象 aiz_withdrawal_profit
 *
 * @author weijianbo
 * @date 2025-02-17
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("aiz_withdrawal_profit")
public class AizWithdrawalProfit implements Serializable {

private static final long serialVersionUID=1L;


    /** $column.columnComment */
    @TableId(value = "id")
    private Long id;

    /** 分润代理id */
    @Excel(name = "分润代理id")
    private Long profitUserId;

    /** 分润代理姓名 */
    @Excel(name = "分润代理姓名")
    private String profitUserName;

    /** 分润费率 */
    @Excel(name = "分润费率")
    private Double profitRate;

    /** 提现分润 */
    @Excel(name = "提现分润")
    private Double profitAmount;

    /** 提现单笔分润 */
    @Excel(name = "提现单笔分润")
    private Double profitFee;

    /** 提现代理id */
    @Excel(name = "提现代理id")
    private Long withdrawalUserId;

    /** 提现代理姓名 */
    @Excel(name = "提现代理姓名")
    private String withdrawalUserName;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private Double withdrawalAmount;

    /** 提现费率 */
    @Excel(name = "提现费率")
    private BigDecimal withdrawalRate;

    /** 提现时间 */
    private Date createTime;

    /** $column.columnComment */

    private String var1;

    /** $column.columnComment */
    private String var2;// 分润详情的uuid

    /** $column.columnComment */
    private String var3;

    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

    @TableField(exist = false)
    private String withdrawalTime;

    @TableField(exist = false)
    private Integer pageNo;

    @TableField(exist = false)
    private Integer pageSize;

    // 搜索开始时间
    @TableField(exist = false)
    private String startTime;
    //搜索结束时间
    @TableField(exist = false)
    private String endTime;
}
